package com.hyh.admin.domain.guide.vo;


import com.hyh.admin.domain.guide.IntelligenceGuide;
import lombok.Data;

import java.util.List;

/*
 * 引导类操作类
 */
@Data
public class QuestionVo {
    private Long id;
    private String content;
    private String optionType;
    private List<IntelligenceGuide> answers;

    public QuestionVo(IntelligenceGuide question, List<IntelligenceGuide> answers) {
        this.id = question.getId();
        this.content = question.getContent();
        this.optionType = question.getOptionType();
        this.answers = answers;
    }
}
